package com.red.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.red.dto.HomePageQueryDTO;
import com.red.entity.Questions;
import com.red.result.PageResult;

import java.util.List;


public interface QuestionsService extends IService<Questions> {
    List<Questions> get_10_question();

    void insertQuestion(Questions questions);

    void deleteByIds(List<Long> ids);

    PageResult pageQuery(HomePageQueryDTO dto);

    void updateQuestions(Questions questions);
}
